package com.theme.passport.service.impl;
import com.theme.passport.dao.SysDocumentTypeDao;
import com.theme.passport.entity.SysDocumentTypeEntity;
import com.theme.passport.service.SysDocumentTypeService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.theme.common.mvc.utils.PageUtils;
import com.theme.common.mvc.utils.Query;




@Service("sysDocumentTypeService")
public class SysDocumentTypeServiceImpl extends ServiceImpl<SysDocumentTypeDao, SysDocumentTypeEntity> implements SysDocumentTypeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysDocumentTypeEntity> page = this.page(
                new Query<SysDocumentTypeEntity>().getPage(params),
                new QueryWrapper<SysDocumentTypeEntity>()
        );

        return new PageUtils(page);
    }

}